package io.github.xxyopen.novel.dto.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 书名信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BookNameRespDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 6248169649255999419L;
    @Schema(description = "经书ID")
    private String id;
    @Schema(description = "经书名")
    private String name;
    @Schema(description = "序号")
    private String serialNun;
    @Schema(description = "译者")
    private String translator;
    @Schema(description = "类别ID")
    private String categoryId;
    private Integer sort;
    @Schema(description = "章节列表")
    private List<SimpleBookChapterRespDto> chapterList;
}